﻿using System;
using System.Web.Mvc;

namespace TSharp.Core.Mvc.Web
{
    internal class TSharpViewPageActivator : IViewPageActivator
    {
        public object Create(ControllerContext controllerContext, Type type)
        {
            return DependencyResolver.Current.GetService(type);
        }
    }
}